package cn.bon.emp.api.pojo.vo;


import cn.bon.emp.api.pojo.po.EmpInfo;
import cn.bon.emp.api.pojo.po.EmpOrg;
import cn.bon.emp.api.pojo.po.UniEmpInfoSkill;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author Lc_cl
 * @Date 2023/12/9
 * @Description
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "分页返回VO")
public class EmpInfoVO extends EmpInfo {

    @Schema(description = "员工拥有的skill")
    private List<UniEmpInfoSkill> skills;

    @Schema(description = "员工岗位名称")
    private String jobName; //岗位名称

    @Schema(description = "员工所属机构信息")
    private EmpOrg empOrg; //用户所属机构Id

    @Schema(description = "组别")
    private String groupName;
}
